#!/usr/bin/env python

##########################################################################
#File Name: config.py
#Author: baohua
#Mail: liubaohuachina@163.com
#Create Time: 2020/03/24 08:39:55
#Version: 1.0
#Description: 
##########################################################################

import os

config = {}
oeget = os.environ.get

config['DEBUG'] = True
config['SERVER_PORT'] = oeget('SERVER_PORT', 8888)

# MYSQL server
config['DB_SVR'] = oeget('DB_SVR', '10.16.32.100')
config['DB_PORT'] = oeget('DB_PORT', 3306)
config['DB_NAME'] = oeget('DB_NAME', 'ttt')
config['DB_USER'] = oeget('DB_USER', 'root')
config['DB_PASS'] = oeget('DB_PASS', 'angzhoutech')

# Cookie stuff
config['COOKIE_SECRET'] = oeget('COOKIE_SECRET', "8E4aB518044d99X31b6a53Z34e4be7af7ba4b1733478")
